<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
    <h2>图片验证码登录</h2>
    <form action="/authentication/form" method="post">
        用户名：<input name="username" type="text"/><br/>
        密码：<input name="password" type="password"/><br/>
        图形验证码：<input name="imageValidateCode" type="text"/><br/>
        <img src="/code/image?width=200"/><br/>
        <input name="remember-me" type="checkbox" value="true"/>记住我
        <br/>
        <input type="submit" value="登录"/>
    </form>
    <hr/>
    <h2>短信验证码登录</h2>
    <form action="/authentication/mobile" method="post">
        手机号：<input name="mobile" type="text" value="13912345678"/><br/>
        短信验证码：<input name="smsValidateCode" type="text"/>
        <a href="/code/sms?mobile=13912345678">发送验证码</a><br/>
        <input type="submit" value="登录"/>
    </form>
    <hr/>
    <h2>QQ登录</h2>
    <form action="/authorizedLogin/qqcallback" method="post">
        <input type="submit" value="qq登录"/>
    </form>
    <!--"/authorizedLogin/qqcallback"中，"/auth"是SocialAuthenticationFilter默认的拦截url，"/authorizedLogin"是自定义的需要SocialAuthenticationFilter拦截的url，"qqcallback"是构建ConnectionFactory时传入的providerId（即：需要social构建的第三方连接池）-->
    <hr/>
    <h2>WX登录</h2>
    <form action="/authorizedLogin/wxcallback" method="post">
        <input type="submit" value="微信登录"/>
    </form>
</body>
</html>